package com.istudy.service.interfaces;

import com.istudy.entity.Comment;
import com.istudy.entity.Watch;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface WatchService {
    /**
     * 获取用户对应的播放记录
     * @return
     */
    List<Watch> getWatch(HttpServletRequest request, int num);
    /**
     * 删除播放记录
     * @return
     */
    boolean delWatch(HttpServletRequest request);
    /**
     * 新增播放记录
     * @return
     */
    boolean insertWatch(Watch Watch);
}
